package com.example.message.service;

import com.example.message.pojo.User;
import com.example.message.pojo.UserInfo;

import java.util.List;

public interface UserService {
    User Login(String userName, String password);
    boolean register(User user);
    boolean updatePassword(int userId, String password);
    boolean updateMessage(UserInfo userInfo);
    List<User> selectByUserName(String UserName);
    boolean loginMessage(User user);
}
